import React from "react"

function FunctionComponent(props: { name: any }) {
  return (
    <div className="border">
      <p>{props.name}</p>
      <button
        onClick={() => {
          console.log("omg"); //sy-log
        }}>
        click
      </button>
    </div>
  );
}

let App: React.FC = () => {
  return (
    <div>
      <h1>App</h1>
      <FunctionComponent name='FunctionComponent' />
      {/* <>omg!!</>
      <>omg!!</> */}
    </div>
  )
}

export default App
